package com.hzdl.apple.bean.cart;

/**
 * 订单项
 */
public class OrderItem {

	private int id;
	private int OID;// 订单id
	private int GoodsID;// 商品id
	private String GoodsName;// 商品名
	private double GoodsPrice;// 单价
	private double AllPrice;// 总价
	private int nums;// 商品数量
	private int UID;
	
	@Override
	public String toString() {
		return "OrderItem [id=" + id + ", OID=" + OID + ", GoodsID=" + GoodsID + ", GoodsName=" + GoodsName
				+ ", GoodsPrice=" + GoodsPrice + ", AllPrice=" + AllPrice + ", nums=" + nums + "]";
	}

	
	public OrderItem(int id, int oID, int goodsID, String goodsName, double goodsPrice, double allPrice, int nums,
			int uID) {
		super();
		this.id = id;
		OID = oID;
		GoodsID = goodsID;
		GoodsName = goodsName;
		GoodsPrice = goodsPrice;
		AllPrice = allPrice;
		this.nums = nums;
		UID = uID;
	}


	public OrderItem() {
		super();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getOID() {
		return OID;
	}

	public void setOID(int oID) {
		OID = oID;
	}

	public int getGoodsID() {
		return GoodsID;
	}

	public void setGoodsID(int goodsID) {
		GoodsID = goodsID;
	}

	public String getGoodsName() {
		return GoodsName;
	}

	public void setGoodsName(String goodsName) {
		GoodsName = goodsName;
	}

	public double getGoodsPrice() {
		return GoodsPrice;
	}

	public void setGoodsPrice(double goodsPrice) {
		GoodsPrice = goodsPrice;
	}

	public double getAllPrice() {
		return AllPrice;
	}

	public void setAllPrice(double allPrice) {
		AllPrice = allPrice;
	}

	public int getNums() {
		return nums;
	}

	public void setNums(int nums) {
		this.nums = nums;
	}


	public int getUID() {
		return UID;
	}


	public void setUID(int uID) {
		UID = uID;
	}

	

}
